require.config({
	baseUrl:"module",
	paths:{
		"reg":"reg1",
	}
})

require(["reg"],function(reg){
	console.log("模块加载成功")
	var myreg=new reg.reg1({
		ouser:document.getElementById("tel"),
		opass:document.getElementById("pass1"),
		obtn:document.getElementById("reg_btn"),
		ospan:document.getElementById("s")

})
})

